home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 120
/
Vol 120.iso
/
games
/
titans
/
beastboy.swf
/
scripts
/
DefineSprite_178
/
frame_1
/
DoAction.as
Wrap
Text File
|
2010-11-09
|
348b
|
18 lines
n = _name.substr(2,100);
r["var" + n] = 0;
onenterframe = function()
{
if(r.pnow == 1 and !r.jump and !r.hit and !r.nochange)
{
if(z.hittest(p.z))
{
r["var" + n] = 1;
r.monitorx = _X;
r.monitor = 1;
r.score += 2 * r.point;
delete onenterframe;
}
}
};
stop();